<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To fetch the Windows Terminal Version # Refer: https://learn.microsoft.com/en-us/windows/terminal/install # Configuration Type - COMPUTER #> # Define the name of the package you're looking for $packageName = "Microsoft.WindowsTerminal" # Check if the package is installed and fetch the version $installedPackage = Get-AppxPackage -Name $packageName -ErrorAction SilentlyContinue if ($installedPackage) { # Extract and output the version $version = $installedPackage.Version Write-Output "Windows Terminal Version: $version" } else { Write-Output "Windows Terminal is not installed." }